PaymentPlugins\WooCommerce\PPCP\PaymentMethodRegistry S

Total Complexity 38
Dependencies 1
Dependents 2
Total lines 153
Lines of code 111
Logical lines of code 60
Comment lines 12
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
get_product_payment_gateways()
S
63 4 11
add_admin_script_dependencies()
S
64 4 9
get_cart_payment_gateways()
S
65 3 9
get_express_payment_gateways()
S
65 3 9
get_minicart_payment_gateways()
S
65 3 9
add_cart_script_dependencies()
S
65 3 9
add_product_script_dependencies()
S
64 3 10
add_express_checkout_script_dependencies()
S
65 3 9
add_minicart_script_dependencies()
S
65 3 9
get_payment_method()
S
78 2 3
add_checkout_script_dependencies()
S
68 2 7
add_payment_method_data()
S
69 2 6
register()
S
80 1 3
has_payment_method()
S
79 1 3
get_active_integrations()
S
74 1 5